package com.zzxx.photograph.dao;

import com.zzxx.photograph.domain.Category;
import com.zzxx.photograph.domain.Img;

import java.util.List;

public interface CategoryDao {
    List<Category> findAll();

    List<Img> queryImgByCid(int cid, int start, int pageSize);

    int queryCountByCid(int cid);

    int findCidImgByIid(int iid);

    List<Img> findImgsByCid(int cid,int iid);

    Integer findCidByCname(String cname);
}
